#pragma once
#include "util.hpp"
#include <string>
#include <fstream>
using namespace std;
const string sep = "\r\n";
class HttpRequest
{
public:
    HttpRequest()
    {
    }
    void parse()
    {
        string tmp = Util::getOneLine(inbuffer, sep);
    }
    ~HttpRequest()
    {
    }

public:
    string inbuffer;
    string method;
    string url;
    string httpversion;
    string path;
};
class HttpResponse
{
public:
    string outbuffer;
};